﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Asset/EassetMaster.master" AutoEventWireup="true"
    CodeBehind="ChangeAssetCustodianForm.aspx.cs" Inherits="Eassets.UI.Asset.ChangeAssetCustodianForm" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="formtitle">
        <asp:Label ID="labelFormTitle" runat="server" Text="Change Asset Custodian"></asp:Label>
    </div>
    <fieldset>
        <ul class="form">
            <li>
                <div class="formfield">
                    <table>
                        <tr>
                            <td>
                                <asp:Label ID="labelOrganizationLevelList" runat="server" Text="Organization Level List"
                                    CssClass="legendlabel_size1"></asp:Label>
                                <asp:DropDownList ID="dropDownListOrganizationLevelList" runat="server" CssClass="select"
                                    AutoPostBack="true" OnSelectedIndexChanged="OrganizationLevelList_SelectedIndexChange"
                                    AppendDataBoundItems="true">
                                    <asp:ListItem Value="" Text="-Select-"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td align="right" width="">
                                <asp:Label ID="labelTransactionNo" runat="server" Text="Transaction No" CssClass="legendlabel_size1"></asp:Label>
                                <asp:DropDownList ID="dropDownListTransactionNo" runat="server" CssClass="select"
                                    AutoPostBack="true">
                                    <asp:ListItem Value="1" Text="-Select-"></asp:ListItem>
                                </asp:DropDownList>
                                <%--  <asp:TextBox ID="textBoxTransactionNo" runat="server" CssClass="disable_textbox1"
                                    Width="150px" MaxLength="8"></asp:TextBox>
                                <asp:Button ID="ButtonTransactionNo" runat="server" Text="..." CssClass="button_browse" />--%>
                            </td>
                        </tr>
                    </table>
                </div>
            </li>
        </ul>
    </fieldset>
    <br />
    <fieldset>
        <ul class="form">
            <li>
                <div class="formfield">
                    <asp:Label ID="labelMainCategory" runat="server" Text="Main Category" CssClass="legendlabel_size1"></asp:Label>
                    <asp:DropDownList ID="dropDownListMainCategory" runat="server" CssClass="select"
                        AutoPostBack="true" OnSelectedIndexChanged="dropDownListMainCategory_SelectedIndexChanged"
                        AppendDataBoundItems="true">
                        <asp:ListItem Value="" Text="-Select-"></asp:ListItem>
                    </asp:DropDownList>
                </div>
            </li>
        </ul>
        <ul class="form">
            <li>
                <div class="formfield">
                    <asp:Label ID="labelSubCategory" runat="server" Text="Sub Category" CssClass="legendlabel_size1"></asp:Label>
                    <asp:DropDownList ID="dropDownListSubCategory" runat="server" CssClass="select" AutoPostBack="true"
                        OnSelectedIndexChanged="dropDownListSubCategory_SelectedIndexChanged">
                        <asp:ListItem Value="" Text="-Select-"></asp:ListItem>
                    </asp:DropDownList>
                </div>
            </li>
        </ul>
        <ul class="form">
            <li>
                <div class="formfield">
                    <asp:Label ID="labelAsset" runat="server" Text="Asset" CssClass="legendlabel_size1"></asp:Label>
                    <asp:DropDownList ID="dropDownListAsset" runat="server" CssClass="select" AutoPostBack="true"
                        OnSelectedIndexChanged="dropDownListAsset_SelectedIndexChanged" AppendDataBoundItems="true">
                    </asp:DropDownList>
                    <asp:ListItem Value="" Text="-Select-">
                </div>
            </li>
        </ul>
        <ul class="form">
            <li>
                <div class="formfield">
                    <asp:Label ID="labelEmployee" runat="server" Text="Employee" CssClass="legendlabel_size1"></asp:Label>
                    <asp:DropDownList ID="dropDownListEmployee" runat="server" CssClass="select" AutoPostBack="true"
                        OnSelectedIndexChanged="dropDownListEmployee_SelectedIndexChanged" AppendDataBoundItems="true">
                    </asp:DropDownList>
                    <asp:ListItem Value="" Text="-Select-">
                </div>
            </li>
        </ul>
    </fieldset>
    <br />
    <fieldset>
        <ul class="form">
            <li>
                <div>
                    <asp:GridView ID="gridViewAssetDetails" runat="server" Caption="Asset Details" CssClass="ColStyle"
                        EmptyDataText="No data to display" AllowPaging="True" PageSize="10" AutoGenerateColumns="false"
                        Width="100%" OnSelectedIndexChanged="gridViewAssetDetails_SelectedIndexChange">
                        <RowStyle CssClass="RowStyle" />
                        <AlternatingRowStyle CssClass="AltRowStyle" />
                        <HeaderStyle CssClass="GridHeader" />
                        <SelectedRowStyle CssClass="SelectedRowStyle" />
                        <Columns>
                            <asp:CommandField ItemStyle-Width="20" ShowSelectButton="True" ButtonType="Image"
                                SelectImageUrl="~/styles/images/Select_icon_button.gif" />
                            <asp:BoundField HeaderText="" DataField="ItemDetailsId" ItemStyle-Width="40" />
                            <asp:TemplateField HeaderText="Asset Code">
                                <ItemTemplate>
                                    <%# DataBinder.Eval(Container.DataItem, "Assets.Code")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="AssetSerialCode" DataField="AssetSerialCode" ItemStyle-Width="40" />
                            <asp:BoundField HeaderText="AssetStatus" DataField="AssetStatus" ItemStyle-Width="40" />
                            <asp:BoundField HeaderText="PurchasedDate" DataField="PurchasedDate" ItemStyle-Width="120"
                                ItemStyle-HorizontalAlign="Right" DataFormatString="{0:d}" />
                            <asp:BoundField HeaderText="PurchasedValue" DataField="PurchasedValue" ItemStyle-Width="140"
                                ItemStyle-HorizontalAlign="Right" />
                            <asp:TemplateField HeaderText="EmployeeName">
                                <ItemTemplate>
                                    <%# DataBinder.Eval(Container.DataItem, "Employee.EmployeeName")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </div>
            </li>
        </ul>
    </fieldset>
    <br />
    <fieldset>
        <ul class="form">
            <li>
                <div class="formfield">
                    <asp:Label ID="labelNewOwner" runat="server" Text="New Owner" CssClass="legendlabel_size1"></asp:Label>
                    <asp:DropDownList ID="dropDownListNewOwner" runat="server" CssClass="select" AutoPostBack="true"
                        OnSelectedIndexChanged="dropDownListNewOwner_SelectedIndexChanged" AppendDataBoundItems="true">
                        <asp:ListItem Value="" Text="-Select-"></asp:ListItem>
                    </asp:DropDownList>
                    <asp:Label ID="label1" runat="server" Text="*" CssClass="mandatoryfield"></asp:Label>
                </div>
            </li>
        </ul>
        <ul class="form">
            <li>
                <div class="formfield">
                    <asp:Label ID="labelEffectiveDate" runat="server" Text="Effective Date" CssClass="legendlabel_size1"></asp:Label>
                    <asp:TextBox ID="textBoxEffectiveDate" runat="server" CssClass="textbox_customsize"
                        Width="100px" MaxLength="8"></asp:TextBox>
                    <asp:Label ID="labelEffectiveDateStar" runat="server" Text="*" CssClass="mandatoryfield"></asp:Label>
                    <asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="textBoxEffectiveDate">
                    </asp:CalendarExtender>
                </div>
            </li>
        </ul>
    </fieldset>
    <br />
    <fieldset>
        <ul class="form">
            <li>
                <div class="formfield">
                    <asp:Button ID="buttonChange" runat="server" Text="Change" CssClass="button_normal"
                        OnClick="buttonChange_OnClick" />
                </div>
            </li>
        </ul>
    </fieldset>
</asp:Content>
